﻿<Window x:Class="P2.Cuberry.Modules.SimpleAccounting.FiTransaction.FiTransactionsFindAccountTreeView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"  
    
        
        Icon="/P2.Cuberry;component/Images/CuberryIcon32.ico"
        Title="Peacequare Cuberry" Width="400" Height="450" 
        Background="{DynamicResource P2BackgroundBrush}" 
         
        >

    <Window.Resources>
       <ResourceDictionary>            
            <ResourceDictionary.MergedDictionaries>                
                <ResourceDictionary Source="/P2.Cuberry.Framework.Layout;component/Styles/Styles.xaml"/>              
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
        
    </Window.Resources>

    <Grid>
        <Grid.Resources>            
        </Grid.Resources>
        
      

        <Grid.RowDefinitions>
            <RowDefinition Height="40" />            
            <RowDefinition Height="*"/>
            <RowDefinition Height="35" />
        </Grid.RowDefinitions>

        <!-- Row 0 Start -->
        <Label Grid.Row="0"  Content="{Translate DialogHeaderFiTransactionFindAccount}" Style="{StaticResource P2DetailViewHeaderTextStyle}" />        
        <Separator Margin="0,0,0,0" Grid.Row="0" VerticalAlignment="Bottom" Height="0"/>
        <!-- Row 0 End -->
       

        <!-- Row 1: All Fields -->
        <Border  Grid.Row="1"   Style="{StaticResource P2ContentBorderStyle}">
            <Grid Grid.Row="1" >                

                <Grid.RowDefinitions>
                    <RowDefinition Height="*" />
                </Grid.RowDefinitions>

                <Label HorizontalAlignment="Left" Margin="5,15.827,0,0" Name="AccountTreeL" Width="120" Height="28" VerticalAlignment="Top" Content="{Translate AccountSortingL}"></Label>
                <TreeView HorizontalAlignment="Stretch" Margin="5,36,5,5" Name="AccountTree" MouseDoubleClick="AccountTree_MouseDoubleClick" SelectedItemChanged="AccountTree_SelectedItemChanged" MinWidth="270" MinHeight="280" />
            </Grid>
        </Border>

        <!-- Row 1: End -->

        
    </Grid>
</Window>
